package com.dy.lock.screen.dao;

import java.util.List;
import java.util.Map;

import com.dy.lock.screen.pojo.ShopCategoryInfo;
import com.dy.lock.screen.pojo.ShopInfo;

/**
 * 店铺信息dao
 * 
 * @author java
 * 
 */
public interface ShopDao extends BaseDao<ShopInfo, String> {

	/**
	 * 根据主键查询
	 * 
	 * @param id
	 * @return
	 */
	public ShopInfo queryByPrimartKey(String id);

	/**
	 * 查询店铺最新文章
	 * 
	 * @param shopId
	 * @return
	 */
	public String queryNewestTitle(String shopId);

	/**
	 * 店铺分类分页查询
	 * 
	 * @param map
	 * @return
	 */
	public List<ShopCategoryInfo> queryShopCategoryList(Map<String, Object> map);
}
